import { defHttp } from '/@/utils/http/axios';
// import { useMessage } from '/@/hooks/web/useMessage';

// const { createConfirm } = useMessage();

enum Api {
  updateUseState = '/assetinfo/assetInfo/updateUseState',
  getAuthorTag = '/device/rd5200/getAuthorTag',
}
/**
 * 保存或者更新
 * @param params
 */
export const updateUseState = (params: { assertId: string; billid: string }) => {
  const url = Api.updateUseState;
  return defHttp.get({ url, params });
};
export const getAuthorTag = (params: {}) => {
  const url = Api.getAuthorTag;
  return defHttp.post({ url, params });
};
